package com.frank.stock4j.tusharepro.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDate;
import com.frank.stock4j.tusharepro.bean.StkHoldertradeBean;

/**
* 描述：获取上市公司增减持数据，了解重要股东近期及历史上的股份增减变化
* @author: codesmith
**/
@Data
@TableName("stk_holdertrade")
public class StkHoldertradeEntity implements StkHoldertradeBean {
    
    /*
    * TS代码
    */
    @TableId
    @TableField("`ts_code`") protected String tsCode;
    /*
    * 公告日期
    */
    @TableId
    @TableField("`ann_date`") protected LocalDate annDate;
    /*
    * 股东名称
    */
    @TableId
    @TableField("`holder_name`") protected String holderName;

    @TableField("`holder_type`") protected String holderType;

    @TableField("`in_de`") protected String inDe;

    @TableField("`change_vol`") protected Double changeVol;

    @TableField("`change_ratio`") protected Double changeRatio;

    @TableField("`after_share`") protected Double afterShare;

    @TableField("`after_ratio`") protected Double afterRatio;

    @TableField("`avg_price`") protected Double avgPrice;
    /*
    * 持股总数
    */
    @TableId
    @TableField("`total_share`") protected Double totalShare;

    @TableField("`begin_date`") protected LocalDate beginDate;

    @TableField("`close_date`") protected LocalDate closeDate;
}